package com.ovhoo.vdm.vdm;

import java.util.Date;


public class VDMQuoteComment {

/*	<comment id="981876" pub_id="74" staff="0">
	<author photo="" url="">Lewiiiis</author>
	<date>2009-11-14T00:06:21+01:00</date>
	<text>VDM, parce que ça aurait pu m'arriver!</text>
	</comment>*/
	
	
	private int id;
	private int pub_id;
	private int staff;
	
    private String author;
    private String authorPhoto;
    private String authorUrl;
    
    private String text;
    private Date date;
    
    public VDMQuoteComment(){
    	
    }

	public void setId(String id) {
		try {
    		this.id = Integer.parseInt( id );
    	} catch (Exception e) {
            this.id = 0;
        }
	}
	
	public int getId(){
		return this.id;
	}
	
	public void setDate(Date date) {
        this.date = date;
    }

    public Date getDate() {
        return this.date;
    }
    
    public String getText() {
        return this.text;
    }

    public void setText(String text) {
    	this.text = text;
    }
     
    
    public String getAuthor() {
        return this.author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
